[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target

[Service]
User={{ mysql_8_0_user }}
Group={{ mysql_8_0_group }}
ExecStart={{mysql_8_0_base_dir}}/bin/mysqld --defaults-file={{ mysql_config_file }}
LimitNOFILE = 65536
Restart=on-failure          
RestartPreventExitStatus=1 
RestartSec=10              
StartLimitInterval=300       
StartLimitBurst=2         
TimeoutStartSec=900
TimeoutStopSec=0
Environment=MYSQLD_PARENT_PID=1
